import request from '@/utils/request'

// 查询乐曲额外信息列表
export function listMusicadditional(query) {
  return request({
    url: '/system/musicadditional/list',
    method: 'get',
    params: query
  })
}
// 查询乐曲额外信息列表
export function selectList(query) {
  return request({
    url: '/backstage/sys/select/music/all',
    method: 'get',
    params: query
  })
}

// 查询乐曲额外信息详细
export function getMusicadditional(id) {
  return request({
    url: '/system/musicadditional/' + id,
    method: 'get'
  })
}

// 新增乐曲额外信息
export function addMusicadditional(data) {
  return request({
    url: '/system/musicadditional',
    method: 'post',
    data: data
  })
}

// 修改乐曲额外信息
export function updateMusicadditional(data) {
  return request({
    url: '/system/musicadditional',
    method: 'put',
    data: data
  })
}

// 删除乐曲额外信息
export function delMusicadditional(id) {
  return request({
    url: '/system/musicadditional/' + id,
    method: 'delete'
  })
}
